import Vue from 'vue'
import Router from 'vue-router'
import Homepages from '@/pages/homePage/homePage'
import Index from '@/pages/homePage/index'


Vue.use(Router)

export default new Router({
  // mode:'history',
  routes: [
    {
      path: '/',
      redirect: '/Index'
    },
    {
      path: '/Homepages',
      name: 'Homepages',
      component: Homepages,
    },
    {
      path: '/Index',
      name: 'Index',
      component: Index,
    }
  ]
})
